<?php

/**
 * @author dr4g0n
 * @copyright 2008
 */

if (!IN_SITE) die("Hack attempt!");

//phprd classes
require_once "../phprd/template/template.php";
require_once "../phprd/template/modules.php";
require_once "../phprd/users/users.php";
require_once "../phprd/utils/utils.php";
require_once "../phprd/cache/cache.php";
require_once "../phprd/sql/sql.php";
require_once "../phprd/ajax/ajax.php";

$errors=ErrorHandler::singleton();
$bench=new bench; $bench->start();
$db=new mysql;
$tmpl=new template;
$ajax=new ajax;
//$users=new user_sessions("mysql");
$modules=new modules;

//$template_path="site/".$site['template']."/";
$template_path=__DIR__."/../../templates/sand/";
$tmpl->set_template_path($template_path);

error_reporting(E_ERROR);

//modules
//require_once "core/module1.php";
//require_once "core/module2.php";

?>